﻿
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
	float total, money_month, x, month;
	cin >> total >> money_month>>month;
	float down = (money_month *  - total) / total / month;
	float up = down * month;

	while (1)
	{
		x = (down + up) / 2.0;
		float t = total;
		for (int i = 0; i < month && t>0; ++i)
		{
			float a = t * x;
			t = t - (money_month - a);
			printf("利息%f，本金剩余%f\n", a, t);
		}
		if (t < 0)
		{
			if (up - down < 0.001)
			{
				break;
			}
			down = x;
		}
		else {
			up = x;
		}
		if (up <= down)
		{
			break;

		}
	}

	x *= 100;
	printf("%.1f", x);
	return 0;
}